import java.util.ArrayList;

public class Test {
    public static void main(String[] args) {
        ArrayList<Book> arrayList=new ArrayList();
        Book book1=new Book("haha",12.0);
        Book book2=new Book("哈哈",12.0);
        Book book3=new Book("呵呵",12.0);


        arrayList.add(book1);
        arrayList.add(book2);
        arrayList.add(book3);

        System.out.println(arrayList);

    }


}
